package com.ys.erp.entity.data.bean;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @author minamiyama
 * @date 2025/7/04
 */
    
@Data
@TableName(value = "t_cat")
@Accessors(chain = true)
public class Cat {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 宠物类型
     */
    @TableField(value = "pet_type")
    private Integer petType;


    /**
     * 猫咪编号
     */
    @TableField(value = "cat_code")
    private String catCode;

    /**
     * 当前所在店铺code
     */
    @TableField(value = "shop_code")
    private String shopCode;

    @TableField(value = "cat_cage_id")
    private Long catCageId;

    /**
     * 当前所在店铺名字
     */
    @TableField(value = "shop_name")
    private String shopName;

    /**
     * 猫咪类别
     */
    @TableField(value = "type_id")
    private Long typeId;

    /**
     * 类别名字
     */
    @TableField(value = "type_name")
    private String typeName;

    /**
     * 幺社名字
     */
    @TableField(value = "nick_name")
    private String nickName;

    /**
     * 猫咪状态0在售，1已售，2预定
     */
    @TableField(value = "cat_status")
    private Integer catStatus;

    /**
     * 猫咪图片，json
     */
    @TableField(value = "photos")
    private String photos;

    /**
     * 0,公，1母
     */
    @TableField(value = "sex")
    private Integer sex;

    /**
     * 到达幺社日期
     */
    @TableField(value = "arrive")
    private LocalDateTime arrive;

    @TableField(value = "to_shop_time")
    private LocalDateTime toShopTime;

    @TableField(value = "birth_time")
    private LocalDateTime birthTime;

    /**
     * 补偿价格，单位分
     */
    @TableField(value = "compensate")
    private Long compensate;

    @TableField(value = "like_num")
    private Integer likeNum;

    @TableField(value = "real_like_num")
    private Integer realLikeNum;

    @TableField("feature")
    private String feature;
    /**
     * 疫苗价格，单位分
     */
    @TableField(value = "vaccin_price")
    private Long vaccinPrice;

    /**
     * 总小偿价格，单位分
     */
    @TableField(value = "total_compensate")
    private Long totalCompensate;

    /**
     * 市场一口价，单位分
     */
    @TableField(value = "fixed_price")
    private Long fixedPrice;

    @TableField(value = "breed_id")
    private Long breedId;

    /**
     * 品种
     */
    @TableField(value = "breed")
    private String breed;

    /**
     * 品种代号
     */
    @TableField(value = "breed_code")
    private String breedCode;

    /**
     * 毛纹毛色
     */
    @TableField(value = "grain_color")
    private String grainColor;

    /**
     * 纹色代号
     */
    @TableField(value = "grain_color_code")
    private String grainColorCode;

    /**
     * 脚特征
     */
    @TableField(value = "trait_foot")
    private String traitFoot;

    /**
     * 毛发长度特征
     */
    @TableField(value = "trait_hair_long")
    private String traitHairLong;

    /**
     * 毛发卷直特征

     */
    @TableField(value = "trait_hair_roll")
    private String traitHairRoll;

    /**
     * 眼睛特征
     */
    @TableField(value = "trait_eyes")
    private String traitEyes;

    /**
     * 耳朵特征
     */
    @TableField(value = "trait_ear")
    private String traitEar;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    @TableField(value = "is_adopt")
    private Integer isAdopt;

    @TableField(value = "is_show")
    private Integer isShow;

    @TableField(value = "order_num")
    private Integer orderNum;

    @TableField(value = "is_top")
    private Integer isTop;

    @TableField(value = "period")
    private Integer period;

    @TableField(value = "period_money")
    private Long periodMoney;

    @TableField(value = "is_procuring")
    private Integer isProcuring;

    @TableField(value = "is_procure_show")
    private Integer isProcureShow;

    @TableField(value = "procure_order_num")
    private Integer procureOrderNum;

    @TableField(value = "conserve_no")
    private String conserveNo;

    @TableField(value = "body_photo")
    private String bodyPhoto;

    @TableField(value = "face_photo")
    private String facePhoto;

    @TableField(value = "is_sterilisation")
    private Integer isSterilisation;

    @TableField(value = "tenant_id")
    private Integer tenantId;

    @TableField(value = "tenant_two_id")
    private Integer tenantTwoId;

    @TableField("is_check")
    private Integer isCheck;

    @TableField(value = "version")
    @Version
    private Integer version;

    @TableField(value = "create_time")
    private LocalDateTime createTime;

    @TableField(value = "update_time", update = "now()")
    private LocalDateTime updateTime;
}